package demo.excmaputil.entity;

import java.util.Date;
import java.util.List;

/**
 * 用户
 * 
 * @author jishaocong
 *
 */
public class User {
	private Long id;
	/** 用户名 */
	private String username;
	/** 手机号 */
	private String phone;
	/** 最后登录日期 */
	private Date lastLoginDate;
	/** 性别：0-未知；1-男；2-女 */
	private Integer gender;
	/** 密码 */
	private String password;
	/** 银行卡 */
	private List<BankCard> bankCards;
	/** 创建时间 */
	private Date createDate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getLastLoginDate() {
		return lastLoginDate;
	}

	public void setLastLoginDate(Date lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public List<BankCard> getBankCards() {
		return bankCards;
	}

	public void setBankCards(List<BankCard> bankCards) {
		this.bankCards = bankCards;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

}
